-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Streamline config in bootstrap #144807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Streamline config in bootstrap #144807
Conversation
This PR modifies If appropriate, please update |
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would stop before eb81f72 in this PR, it already has a lot of changes. Left some comments. Looks great!
This comment has been minimized.
This comment has been minimized.
87966f4
to
cf03a40
Compare
This comment has been minimized.
This comment has been minimized.
cf03a40
to
b32ded3
Compare
This comment has been minimized.
This comment has been minimized.
b32ded3
to
888edc0
Compare
This comment has been minimized.
This comment has been minimized.
888edc0
to
a2794f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, GH doesn't send notifications for PRs being marked as ready to review, annoying as always. Found one thing.
@@ -977,11 +1163,90 @@ impl Config { | |||
config.channel = channel; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This override is applied after config.channel
has already been read.. but it seems to be pre-existing, not sure if it was intended though. Let's leave it like it is for now.
a2794f9
to
962836d
Compare
Thanks, looks good now. You can r=me once CI is green. @bors delegate+ |
✌️ @Shourya742, you can now approve this pull request! If @Kobzol told you to " |
This PR restructures the config module to improve readability and debuggability. It also aims to eliminate as many invariants as possible. Best reviewed commit by commit.
r? @Kobzol